package com.test.vertx.job;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

@Slf4j
@NoArgsConstructor
public class MyJob implements org.quartz.Job {
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        Object eventbus = context.getMergedJobDataMap().get("eventbus");
        log.info("MyJob is executing params:"+eventbus);
    }
}